package cn.dogger.easyboot.system.mapper;

import cn.dogger.easyboot.system.domain.dto.SysOperLogDTO;
import cn.dogger.easyboot.system.domain.entity.SysOperLog;
import cn.dogger.easyboot.system.domain.vo.SysOperLogDetail;
import cn.dogger.easyboot.system.domain.vo.SysOperLogVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* 操作日志记录
* @author dogger
* 2022-04-16
*/
@Repository
public interface SysOperLogMapper extends BaseMapper<SysOperLog> {
    List<SysOperLogVO> list(@Param("tb") SysOperLogDTO dto);

    SysOperLogDetail detailById(@Param("id")String id);
}